Skip to content

fix: show permission/question prompts in task tree viewer#14

Open
belisarius222 wants to merge 1 commit intodevfrom
fix/task-tree-permission-visibility
Open

fix: show permission/question prompts in task tree viewer#14
belisarius222 wants to merge 1 commit intodevfrom
fix/task-tree-permission-visibility

Conversation

@belisarius222
Copy link
Contributor

Summary

  • When the task tree view is active, permission requests from sub-tasks were invisible because the TaskTreePane completely replaced the main session view (which contained the PermissionPrompt)
  • This wraps the TaskTreePane in a flex column and renders permission/question prompts below it, matching the same pattern used in the main session view
  • Users can now respond to permission requests without switching out of the task tree view

Fixes #13

Test plan

  • Run bun dev, trigger a sub-task that requires a permission (e.g., a bash command), switch to the task tree view, and verify the permission prompt appears at the bottom
  • Verify the permission prompt works correctly (allow once / allow always / reject)
  • Verify question prompts also appear in the task tree view when there are no pending permissions
  • Verify the task tree still renders correctly with no pending permissions (no extra whitespace or layout shifts)

🤖 Generated with Claude Code

When the task tree view is active, permission requests from sub-tasks
were invisible because the TaskTreePane replaced the entire main session
view (which contained the PermissionPrompt). This wraps the TaskTreePane
in a flex column and renders permission/question prompts below it, so
users can respond to permission requests without switching views.

Fixes #13

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Permissions requests aren't visible in the task tree viewer

1 participant